package com.wangxiang.sys.manage.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.HashMap;
import java.util.List;
@FeignClient("shop-product")
public interface ProductFeign {
    @RequestMapping("product/spu/selectAudit")
    List<HashMap<String , Object>> auditshop(@RequestBody List<HashMap<String , Object>> maps);

    @RequestMapping("product/spu/auditRecover")
   int auditRecover(@RequestBody HashMap<String , Integer> map);
}
